<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="{{ STATIC_URL }}/css/reset.css" />
<link rel="stylesheet" href="{{ STATIC_URL }}/css/text.css" />
<link rel="stylesheet" href="{{ STATIC_URL }}/css/960.css" />
<link rel="stylesheet" href="{{ STATIC_URL }}/css/dt.css" />
<script type="text/javascript" src="{{ STATIC_URL }}/js/jquery-1.6.js"></script>
{%block title%}
<title>数说</title>
{%endblock%}
</head>

<body>
{%block header%}
<div id="header">
	<div class="container_12">
		<div class="grid_6 push_6 ">
			<div class="grid_3 prefix_3" id="user_bar">
				{% if not user.is_active %} 
					<a class="" href="/talk/entres/">我要发布</a>
					<a href="/users/login/">登陆</a>
					<a href="/users/edit/">注册</a>
				{% else %}
						<a class="" href="/talk/entres/">我要发布</a>
						<a href="/users/edit/">{{user}}</a>
						<a href="/users/logout/">退出</a>
				{% endif %}
			</div>
			<div class="clear"></div>
		</div>
		<div class="grid_6 pull_6">
			<div class="grid_7 alpha ">
				<div class="grid_1 alpha">
					<a href="/"><img src="{{ STATIC_URL }}/images/logo.png"></a>
				</div>
				<div class="grid_4 alpha"></div>
				<div class="grid_2 alpha"></div>
			</div>
		</div>
	</div>
</div>

{%endblock%}

<div id="body">
	<div class="container_12">
		<div class="grid_6 push_6 ">	
			{%block body_right%}
				<div class="grid_1 prefix_5">
					tags

				</div>
				<div class="clear"></div>			
			{%endblock%}
		</div>
		
		<div class="grid_6 pull_6">
			{%block body_left%}
			{%endblock%}
		</div>
		<div class="clear"></div>
	</div>
</div>

{%block footer%}
<div id="footer">
	<div class="container_12">
		<div class="grid_12 inner">
			关于者也 • 
			每天进步一点 • 
			<a href="http://blog.datatalk.cn">博客</a> • 
			<a href="http://weibo.com/datatalk">微博</a> • 
			合作联系• 
			反馈
			© 数说 datatalk.cn 
		</div>
		<div class="grid_12">
			
		</div>
	</div>
</div>
{%endblock%}
</body>
</html>

